<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>PACKAGES — <{:C('site_title')}></title>
<meta name="keywords" content="<{:C('site_keyword')}>">
<meta name="description" content="<{:C('site_content')}>">
<include file="Public:cssjs" />
<script type="text/javascript" src="<{:STATICS}>/js/jquery.form.min.js"></script>
<link rel="stylesheet" href="<{:RES}>/css/pay.css">
</head>
<body>
<script>
$(document).ready(function() {
	//ajaxform
	var options = { 
		beforeSubmit:showRequest,//表单验证方式
        success:showResponse  // post-submit callback 
    }; 

    $('#ajaxForm').ajaxForm(options); 

    function showResponse(responseText, statusText)  {
		if (statusText == 'success') {
			var responseText=eval('('+responseText+')');
			if(responseText.state == 'SUCCESS'){
				window.location.href = responseText.url;			
			}else{
				$("#form-btn").removeAttr('disabled');
		 		$("#msg").html('<font style="color:#f00">'+responseText.state+'</font>');	
			}			
		}else{
			$("#form-btn").removeAttr('disabled');
		 	$("#msg").html('Lost Service');			
		}
	} 

	function showRequest(){
		$("#form-btn").attr('disabled','disabled').html('Please wait...');
		$("#msg").html('<img src="/tpl/Home/common/image/loadding.gif">');
	}
});
</script>
<include file="Public:mobilemenu" />

<div id="siteWrapper">
	<div class="blackHeader">
	<include file="Public:menu" />
	</div>
	
	<div class="main">
		<div class="confirm">
			<div class="ok"><img src="<{:RES}>/image/ok.jpg"><p>Payment success</p></div>
		</div>
	</div>

	<include file="Public:footer" />	
</div>

</body>
</html>